package com.china08.yxyapi.entity.mg.homework;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 试题的总共使用次数,在每次发布作业时，对此表进行update或者insert
 * 
 * @author Richard Wang
 * 
 */
@Document(collection = "yxy.tea.homework.ques.used")
public class HomeWorkQuesUsed extends MongoBaseEntityNoId {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Id
    private String id;

    /** The ques id. 试题id */
    @Field(value = "ques_id")
    private String quesId;

    /**
     * 使用次数
     */
    @Field(value = "used_count")
    private Long usedCount;

    public String getQuesId() {
        return quesId;
    }

    public void setQuesId(String quesId) {
        this.quesId = quesId;
    }

    public Long getUsedCount() {
        return usedCount;
    }

    public void setUsedCount(Long usedCount) {
        this.usedCount = usedCount;
    }

    // getter setter

}
